package com.wxd.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;

@Controller
public class DockerController {
	
    @RequestMapping("/")
    public String index(HttpServletRequest request) {
        request.setAttribute("hello","hello");
        request.setAttribute("datetime",new Date());
        return "hello";
    }
}